package com.sino.operation.peripheral.esc.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * TOD
 *
 * @author Administrator
 * date 2021/9/13 0013 22:37
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "ESC系统响应头")
public class EscResSysHead {

    @JsonProperty("service_code")
    @ApiModelProperty(name = "service_code",value = "服务编码")
    private String serviceCode;

    @JsonProperty("service_scene")
    @ApiModelProperty(name = "service_scene",value = "服务场景码")
    private String serviceScene;

    @JsonProperty("consumer_id")
    @ApiModelProperty(name = "consumer_id",value = "请求系统编号")
    private String consumerId;

    @JsonProperty("consumer_seq_no")
    @ApiModelProperty(name = "consumer_seq_no",value = "请求方流水号")
    private String consumerSeqNo;

    @JsonProperty("buss_seq_no")
    @ApiModelProperty(name = "buss_seq_no",value = "全局流水号")
    private String bussSeqNo;

    @JsonProperty("org_sys_id")
    @ApiModelProperty(name = "org_sys_id",value = "原始发起方系统编号")
    private String orgSysId;

    @JsonProperty("tran_date")
    @ApiModelProperty(name = "tran_date",value = "发送日期:年月日")
    private String tranDate;

    @JsonProperty("tran_timestamp")
    @ApiModelProperty(name = "tran_timestamp",value = "发送日子:时分秒")
    private String tranTimestamp;

    @JsonProperty("ret_status")
    @ApiModelProperty(name = "ret_status",value = "交易状态")
    private String retStatus;

    @JsonProperty("ret")
    @ApiModelProperty(name = "ret",value = "响应数据")
    private List<EscRet> rets;

    @JsonProperty("org_ws_id")
    @ApiModelProperty(name = "org_ws_id",value = "源发起终端")
    private String orgWsId;

    @JsonProperty("ws_id")
    @ApiModelProperty(name = "ws_id",value = "逻辑终端标识")
    private String wsId;

    @JsonProperty("org_svr_id")
    @ApiModelProperty(name = "org_svr_id",value = "原始发起方服务器标识")
    private String orgSvrId;

    @JsonProperty("svr_id")
    @ApiModelProperty(name = "svr_id",value = "发起方服务器标识(请求方服务器IP地址)")
    private String svrId;

    @JsonProperty("dest_svr_id")
    @ApiModelProperty(name = "dest_svr_id",value = "目标服务器标识")
    private String destSvrId;

    @JsonProperty("user_lang")
    @ApiModelProperty(name = "user_lang",value = "用户语言")
    private String userLang;

    @JsonProperty("serv_seq_no")
    @ApiModelProperty(name = "serv_seq_no",value = "服务处理返回流水号")
    private String servSeqNo;

    @JsonProperty("branch_id")
    @ApiModelProperty(name = "branch_id",value = "发起机构ID")
    private String branchId;

    @JsonProperty("channel_code")
    @ApiModelProperty(name = "channel_code",value = "渠道代码")
    private String channelCode;
}
